body {
  background: #34495e;
  min-height: 100vmin;
  display: flex;
  justify-content: center;
  align-items: center;
}

div {
  width: 12.5rem;
  height: 12.5rem;
  box-sizing: border-box;
  border-radius: 50%;
  border-top: .6rem solid #e74c3c;
  position: relative;
  animation: a1 2s linear infinite;
}

div::before {
  content: "";
  width: 12.5rem;
  height: 12.5rem;
  position: absolute;
  left: 0;
  top: -10px;
  box-sizing: border-box;
  border-radius: 50%;
  border-top: .6rem solid #e67e22;
  transform: rotate(120deg);
}

div::after {
  content: "";
  width: 12.5rem;
  height: 12.5rem;
  position: absolute;
  left: 0;
  top: -10px;
  box-sizing: border-box;
  border-radius: 50%;
  border-top: .6rem solid #3498db;
  transform: rotate(240deg);
}

span {
  color: white;
  width: 12.5rem;
  height: 12.5rem;
  text-align: center;
  line-height: 12.5rem;
  position: absolute;
  animation: a2 2s linear infinite;
}

@keyframes a1 {
  to {
    transform: rotate(360deg);
  }
}

@keyframes a2 {
  to {
    transform: rotate(-360deg);
  }
}
